home *** CD-ROM | disk | FTP | other *** search
- -----BEGIN PGP SIGNED MESSAGE-----
-
-
- NAME
- HDOff -- a program for the A600/A1200 and A4000 to stop the HD
- motor.
-
- SYNOPSIS
- HDOff T=TIME/N,T2=TIME2/N,FORCE/S,OTHER/S,OTHER2/S,NOW/S,NOW2/S,
- SET1200/S,SET4000/S,UPDATE/S,QUIET/S,STOP/S,STOP2/S
-
- DESCRIPTION
- HDOff is a program like NoiseSaver for the A1200 and A4000. It stops
- the HD motor x minutes after the last access.
-
- TIME, TIME2 :
- Time in minutes after the 1st/2nd HD will shut down.
-
- FORCE :
- Forces HDOff to quit. Normaly HDOff doesn`t quit if another
- programm (like cachesoftware ) patched the scsi.device after
- HDOff did. But if you are using SetFuncManager (or something
- similar), HDOff can nevertheless quit without danger. ONLY USE
- THIS OPTION IF YOU ARE USING SETFUNCMANAGER OR SOMTHING LIKE
- IT!
-
- OTHER, OTHER2 :
- This option makes HDOff to use an alternative command ($94
- instead of $E0) to stop the HD`s motor. If your HD doesn`t
- spin down, try this option. Some drives, especially older
- ones, don`t support the `STANDBY` (all newer drives should
- support it, at least the "green-PC" drives supporting power
- management).
-
- NOW, NOW2 :
- The selected HD spins down immediately on startup, the program
- just does it`s normal job (usefull for seldom used HD`s).
-
- SET1200, SET4000:
- With some odd HD`s, HDOff isn`t able to detect wich controller
- is present in your Amiga. If you start HDOff and get a
- "Incorrect HD controller!" message, but are actually using an
- A600/A1200/A4000, use the option SET1200 for an A600/A1200 or
- SET4000 for an A4000.
-
- UPDATE:
- With this option you can adjust the shutdowntime online.
-
- QUIET:
- Using this option HDOff won`t print anything out (similar to
- >NIL:). Usefull e.g. if you start it in the user-startup.
-
- STOP, STOP2:
- HDOff will just stop the 1st (STOP) or 2nd (STOP2) harddrive,
- but HDOff won`t be installed.
-
- NOTE
- Be shure not to set the "time" value too low (maximum are 65535 minutes
- :) as permanently spinning the drive up and down does shorten the life
- expectancy of the drive (60 minutes is a good choice).
-
- You don`t need to start HDOff with run.
-
- To quit HDOff, simply restart it.
-
- If a requester with the message "Someone else has patched
- scsi.device!..." pops up, someone else (e.g. caching software) has
- latched into the scsi.device. For security reasons HDOff cannot be
- terminated this time.
-
- This program is 100% written in assembler (DevPac 3.14) and (as far as
- its possible) systemconform.
-
- EXAMPLES
- 1. HDOff 30
- Stops the motor of the 1st HD 30 minutes after the last access.
-
- 2. HDOff 30 15 OTHER2
- Stops the motor of the 1st HD 30 minutes, the motor of the 2nd HD 15
- minutes after the last access. For the 2nd HD the alternative command
- will be used to stop the motor
-
- 3. HDOff T2=20
- Stops the motor of the 2nd HD 30 minutes after the last access.
-
- 4. HDOff 30 15 NOW2
- Stops the motor of the 1st HD 30 minutes, the motor of the 2nd HD
- immediately. If the 2nd HD was accessed and so spins up, the next spin
- down will again happen after 15 mins.
-
- 5. HDOff 50 10 UDPATE
- If you already started HDOff, the timeout`s for the HD`s will be
- changed to the new values.
-
- 6. HDOff STOP QUIET
- This will just and only stop the 1st drive, there will not be any
- timeout! Additionally there will be no output.
-
- TECHNICAL
- How does it work? The essential things are:
-
- 1. Test if ide controller is present (if not: quit)
-
- 2. Patch scsi.device (using SetFunction, of course). The patch
- signals HD accesses to the main task.
-
- 3. Count the timer down and reinitialize it if a signal from the patch
- occures.
-
- 4. If timer reaches 0: Signal the patch to delay all commands (for
- both drives) till the signal is retracted. Security delay 1 sec.
- Forbid(), Wait_IDE_unbusy, select drive (master/slave),
- Wait_IDE_unbusy, spin down HD, Permit(). Retract the signal for the
- patch for the HD that was not stopped, for the other one after a 5 secs
- security delay (spin up is done by the HD itself).
-
- 5. Check, if there are any messages and process them.
-
- 6. Repeat step 3-4 until abort.
-
- For more information about the messageport have a look in
- Developers.doc!
-
- DISCLAIMER & COPYRIGHT
- This software is subject to the "Standard Amiga FD-Software Copyright
- Note" It is Freeware as defined in paragraph 4a. For more information
- please read "AFD-COPYRIGHT" (Version 1 or higher).
-
- AUTHOR
- Gideon Zenz
- Giersbergstr. 41
- 53229 Bonn
- GERMANY
-
- EMail: gzenz@ernie.mi.uni-koeln.de
-
- News about HDOff at: http://ernie.mi.uni-koeln.de/~gzenz/hdoff.html
-
- -Gideon Zenz, 16-Mar-96
-
- BUGS
- Non known.
-
- FUTURE
- I`ll change to SCSI (as everyone should, as ide simply sucks!),
- so there will maybe be a SCSI version.
-
- HISTORY
- v1.0: (08-Mai-94)
- - Initial release
-
- v1.1: (30-Jan-95)
- - Timerloop in minutes and much more precisely
- - No need to start with run any more
- - At all more secure and more systemconform
- - A4000 support
-
- v1.2: (20-Apr-95)
- - docs completely rewritten
- - Support of 2nd HD`s
- - New args OTHER and OTHER2 and NOW and NOW2
-
- v1.33: (7-Jan-96)
- - HDOff crashed if started on heavy diskaccess.
- - new options SET1200 and SET4000
- - Implementation of the onlineport. Have a look in
- Developers.doc for usage.
-
- v1.34: (22-Feb-96)
- - Fixed a bug in the onlineport: PortVer wasn`t set.
- - Added GetStats&Source
- - Completely reworked Developer.doc
- - Now working 100% on A600
- - New arg UPDATE (thx to Ingo Eickelkamp for suggestion)
-
- v1.35: (16-Mar-96)
- - New option QUIET
- - Bugfix in UPDATE, wrong values were taken
- - Now there is again a check if you enter too big values
- - MAJOR bug: HD spun only the 1st time down on a1200 [thx to Oli Lohr]
- - System of timecounting changed, now 100% accurate
- - NOW(2) working again [thx to Oli Lohr]
- - New options STOP(2) [thx to A.BOERNER@bbrandes.berlinet.de]
- - New, bugfixed and improed version of Getstats [Thx Matthias Andree!]
-
- THANKS
- Many thanks to heureka@bigben.dssd.sub.org and M.ZIELINSKI@
- amtrash.comlink.de for their helps on A4000 and 2nd HD support, and all
- other`s who wrote me! A special thank must go out to Matthias Andree,
- who had a look at the docs!
-
- SECURITY
- If you want to be shure you have the original programs, check
- with "md5sum -c HDOff.doc". (md5sum is part of the PGP package)
-
- dfdf15f58f042ffa0f018ba8277124f7 AFD-COPYRIGHT
- f7da7a8653f2153aea03f73d664f2a40 AFD-COPYRIGHT.de
- e0bdb9e8df99708642497b5a64fe3560 Developers.doc
- daff72ad723bed515bbef46857627708 *GetStats
- bc36101011f5767b4595fe630f6255d6 GetStats.c
- 0c715e81afc8b0e9277212e004037617 *HDOff
- df5b8c6a9f275a980fa5735059c14b8c HDOff_1.35.readme
-
- - -----BEGIN PGP PUBLIC KEY BLOCK-----
- Version: 2.6.3i
-
- mQCNAi3izr8AAAEEAMi+7o+iKDG26t8EuoX0NJ92iwhkviRC3GdJ1Uvef4+xJA3V
- ey20ZnzBg/OokPdo0a3VxhwyjD2auyFmp7DLupQTko7Wx2zLk19EzVBxI6NggUev
- ep+eaVvAi8V/YosYh0Xg4/dScOq391irO6k9+BPqkQPH+bRNCUBgnhXGkfElAAUR
- tChHaWRlb24gWmVueiA8TWFydmluQEJpZ0Jlbi5kc3NkLnN1Yi5vcmc+iQCVAwUQ
- MKAFYEBgnhXGkfElAQHfNgQApPTXMFip0cg2goWRCy/0v6EeVyDCnFiHu0WKk7ge
- HkHz2S1esiF87KedcNPmWhn75ZknXaGFzWkX/Qnxdh5Pk3AyTdzDURnu1WBN2lnL
- huXbmCK08j3rBtvLq0rZg2L8Dvpf/rjTSB86UXf47MgR+Wow5vltwvL1NEI1GACY
- Bpm0JkdpZGVvbiBaZW56IDxNYXJ2aW5AQklHQkVOLnd3Yi5zdWIuZGU+iQCVAgUQ
- Lunxnys4JdI2NDr5AQFsNQQAjjpOR+crQZY8RXviWGuJ6K806bh9mCIOYXmfmaJl
- i2aEI2qpbLaN+K394usK0cynleGVFCkOfAa+J3PQTIOPSTB+8p2mcAN2JuZWR85e
- UE6JKyRU96D8c36CNgKxytelDuD4JAwA6gG/CiqiECr59gnaaGwrkpL6h+iMBQcY
- bwy0Mk5PVEU6IE1hcnZpbkBCSUdCRU4ud3diLnN1Yi5kZSBub3QgdmFsaWQgYW55
- IG1vcmUhtBVHaWRlb24gWmVueiAyOjI0NDAvOTk=
- =NZ+T
- - -----END PGP PUBLIC KEY BLOCK-----
-
- -----BEGIN PGP SIGNATURE-----
- Version: 2.6.3i
- Charset: noconv
-
- iQCVAwUBMUte10BgnhXGkfElAQGuvQQAoq8jd0yZwp8QQmloQnj8+j17Vj8n/4KK
- Vjc8FhXarzyOdsBz05hxv/cx3Rh3YerdtDSCcbozetsDI7+zayJ10qL4n9jYA+cr
- PLruvdKXKM1PJffGFe27dHcNoFVgLAYPEXDZArcQYwshjGDCSp7jKr/MhTBeOzI+
- vD7Y5qfKwG8=
- =ionL
- -----END PGP SIGNATURE-----
-